package cn.stronglink.asset.module.resource.resource.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import cn.stronglink.asset.model.Resource;

public interface ResourceMapper {

	void create(Resource resource);

	void update(Resource resource);

	void remove(@Param("id")Long id);

	Resource qryById(@Param("id")Long id);

	List<Resource> qryList(Pagination page,@Param("params") Map<String, Object> params);

}
